﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Kenly.DBFramework.Gateway;

namespace Kenly.DBFramework.Tests
{
    [Table(TableName = "base_Student")]
    class Student
    {
        public const string TableName = "base_Student";
        public const string StudentIDColumn = "Student_ID";
        public const string NationalIDNumberColumn = "National_ID_Number";
        public const string BirthdayColumn = "Birthday";

        [Column(ColumnName = "Student_ID", IsPrimaryKey = true)]
        public int StudentID
        {
            get;
            set;
        }

        [Column(ColumnName = "National_ID_Number")]
        public string NationalIDNumber
        {
            get;
            set;
        }

        [Column(ColumnName = "Birthday")]
        public DateTime? Birthday
        {
            get;
            set;
        }
    }
}
